<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>盒子之间的关系</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .box{
            width: 500px;
            height: 200px;
            color: red;
            border: 1px solid #0000ff;
        }
        .box ul{
            list-style: none;
            background: blanchedalmond;
        }
        .box li{
            background: greenyellow;
            margin: 20px;
            padding: 10px;
        }
        .links{
            margin: 20px;
            border: 1px solid #999999;
        }
        .links a{
            border: 1px solid purple;
            margin-left: 30px;
        }

    </style>
</head>
<body>
<h1>盒子模型</h1>
<hr>
<div class="links">
    <a href="#">首页</a>
    <a href="#">首页</a>
    <a href="#">首页</a>
    <a href="#">首页</a>
    <a href="#">首页</a>
    <a href="#">首页</a>
</div>
<hr>
<div class="box">
    <ul>
        <li>盒子之间的关系 width height border padding</li>
        <li>hello how do you do yuanyi</li>
        <li>hello1 how do you do yuanyi</li>
    </ul>
    <ul>
        <li>盒子之间的关系 width height border padding</li>
        <li>hello how do you do yuanyi</li>
        <li>hello1 how do you do yuanyi</li>
    </ul>
    <ul>
        <li>盒子之间的关系 width height border padding</li>
        <li>hello how do you do yuanyi</li>
        <li>hello1 how do you do yuanyi</li>
    </ul>
</div>
</body>
</html>